package com.bbcare.cp.plat.entity.au;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;

/**
 * 账号
 * 1、在线医疗服务平台账号体系与BBcare平台账号体系相互独立
 * 2、在OMS平台添加的账号都必须通过消息队列向BBcare平台发送新医生账号注册广播
 * @author lechen
 */
@Entity
public class AuAccount implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String id;
	
	//账号
	private String username;
	
	//密码
	private String password;
	
	//昵称
	private String alias;

	//创建者
	private String authorId;
	
	//创建时间
	private Date createTime;
	
	//当前登录账号类型
	private int type;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getAuthorId() {
		return authorId;
	}

	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
